Valid for Sitecore
5.2, 5.1.1
Edit a Layout
Prev Next |
Layouts can be edited through the Sitecore Desktop (using the WYSIWYG editor for .html Layouts or a text editor for XML Layouts) or using Microsoft® Visual Studio .NET. Because the WYSIWYG editor reformats code, once the Layout has been edited in Visual Studio it should no longer be edited with the WYSIWYG editor. To edit a Layout:
-
To edit the Layout through the Sitecore Desktop:
- Log in to the Sitecore Desktop on a development server as a user with appropriate permissions.
- Open Layout Studio.
- Choose File » Open » Layout (File » Open » File for XAML Layouts) and select the Layout to edit.
- Drag and drop Renderings, Sublayouts and/or Placeholders from the tree on the left into the Layout.
-
To edit the Layout using Microsoft® Visual Studio .NET:
- Open the project in Visual Studio.
- Open Solution Explorer and navigate to the folder containing the Layout (usually /layouts).
- If the Layout is not already included in the project, right-click on it and include it in the project.
- Open the Layout.
Prev Next